#define _CRT_SECURE_NO_WARNINGS
#include"SeqList.h"

int main()
{
	SL  s;
	SLInit(&s);

	SLPushBack(&s, 1);
	SLPushBack(&s, 5);
	SLPushBack(&s, 9);
	SLPushBack(&s, 3);
	SLPushBack(&s, 6);
	SLPushFront(&s, 0);
	SLPushFront(&s, 0);
	SLPushFront(&s, 0);

	SLPrint(&s);
	printf("\n");

	SLPopBack(&s);
	SLPopBack(&s);
	SLPopBack(&s);
	SLPopBack(&s);
	SLPopBack(&s);
	SLPopBack(&s);
	SLPopBack(&s);
	SLPushBack(&s, 3);
	SLPushBack(&s, 6);
	SLPushFront(&s, 0);
	SLPushFront(&s, 0);

	SLPrint(&s);
	printf("\n");

	SLInsert(&s, 4, 1000);
	SLPrint(&s);
	printf("\n");

	SLErase(&s, 3);
	SLPrint(&s);



	SLDestory(&s);
	return 0;
}